package org.springframework.learn.beans.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.Lazy;
import org.springframework.learn.beans.config.Person;
import org.springframework.learn.beans.data.User;
import org.springframework.stereotype.Component;

import javax.annotation.PreDestroy;
import java.util.List;

/**
 * Description
 * Copyright © 启明星辰 版权所有
 *
 * @author chenjiquan
 * @date 2024-02-20
 */
@Import(User.class)
@Component
public class UserService {


	@Bean
	public User user(){
		return new User();
	}
}
